<h2>DESCRIPTION</h2>

<b>r.surf.random</b> produces a raster map layer of uniform random deviates
whose range can be expressed by the user. It is essentially the same as
<em>r.surf.gauss</em>, but uses a linear random number generator instead.
It uses the random number generator drand48() or rand()<!-- cite? -->,
depending on the user's platform.

<h2>EXAMPLE</h2>

<div class="code"><pre>
g.region -p n=228500 s=215000 w=630000 e=645000 res=10
r.surf.random out=random min=0 max=100

# check result
r.univar random
</pre></div>

<!--
d.legend -d raster=random@user1 title=random font=Vera
-->

<div align="center" style="margin: 10px">
<a href="r_surf_random.jpg">
<img src="r_surf_random.jpg" width="600" height="293" alt="r.random.surface example (min: 10; max: 100)" border="0">
</a><br>
<i>Figure: Random surface example (min: 10; max: 100)</i>
</div>

<p>
With the histogram tool the cell values versus count can be shown.
<p>
<div align="center" style="margin: 10px">
<a href="r_surf_random_hist.png">
<img src="r_surf_random_hist.png" width="600" height="280" alt="r.random.surface example histogram (min: 10; max: 100)" border="0">
</a><br>
<i>Figure: Histogram of random surface example (min: 10; max: 100)</i>
</div>


<h2>SEE ALSO</h2>

<em>
<a href="r.random.surface.html">r.random.surface</a>, 
<a href="r.surf.contour.html">r.surf.contour</a>,
<a href="r.surf.fractal.html">r.surf.fractal</a>,
<a href="r.surf.gauss.html">r.surf.gauss</a>,
<a href="r.surf.idw.html">r.surf.idw</a>,
<a href="v.surf.rst.html">v.surf.rst</a>
</em>

<h2>AUTHOR</h2>

Jo Wood<br>
Midlands Regional Research Laboratory (ASSIST)<br>
University of Leicester<br>
<i>October 1991</i>
<br>

<!-- almost certainly no longer valid
<address>jwo at le.ac.uk</address>

<br><a href="http://www.geog.le.ac.uk/assist/index.html">ASSIST's home</a>
-->

<!--
<p>
<i>Last changed: $Date$</i>
-->
